|
speaker2 2.2.1
|
Speaker 2 Click context object. More...
#include <speaker2.h>
Data Fields | |
| digital_out_t | io5 |
| digital_in_t | rdy |
| digital_in_t | int_pin |
| spi_master_t | spi |
| pin_name_t | chip_select |
| uint8_t | cmd_payload [SPEAKER2_PAYLOAD_SIZE] |
| uint8_t | status |
| speaker2_device_id_t | device_id |
Speaker 2 Click context object.
Context object definition of Speaker 2 Click driver.
| pin_name_t chip_select |
Chip select pin descriptor (used for SPI driver).
| uint8_t cmd_payload[SPEAKER2_PAYLOAD_SIZE] |
Command/response payload data.
| speaker2_device_id_t device_id |
Device ID object.
| digital_in_t int_pin |
Active low interrupt request pin.
| digital_out_t io5 |
General purpose I/O 5 pin.
| digital_in_t rdy |
Active high SPI ready to accept commands pin.
| spi_master_t spi |
SPI driver object.
| uint8_t status |
Device status updated during an SPI command transaction.